package com.aaa.vegetablemarketexpress.service.impl;

import com.aaa.vegetablemarketexpress.dao.ShopCustomerDao;
import com.aaa.vegetablemarketexpress.entity.Customer;
import com.aaa.vegetablemarketexpress.entity.ShopCustomer;
import com.aaa.vegetablemarketexpress.service.ShopCustomerService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @FileName: ShopCustomerServiceImpl
 * @Description:
 * @Author: 张钰哲
 * @CreateTime: 2025/9/12 18:48
 * @Version: 1.0.0
 */
@Service
public class ShopCustomerServiceImpl implements ShopCustomerService {
    private ShopCustomerDao shopCustomerDao;
    @Override
    public List<ShopCustomer> selectShopCustomerList(Long shopId) {
        if (shopId == null) {
            throw new IllegalArgumentException("店铺ID不能为空");
        }
        return shopCustomerDao.selectShopCustomerList(shopId);
    }

}
